package org.jeecg.modules.ptUsers.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.jeecg.common.api.vo.Result;
import org.jeecg.modules.ptUsers.entity.PtUsers;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.jeecg.modules.system.entity.SysUser;

/**
 * @Description: 会员信息
 * @Author: jeecg-boot
 * @Date:   2023-02-22
 * @Version: V1.0
 */
public interface PtUsersMapper extends BaseMapper<PtUsers> {

    /**
     * 通过用户账号查询用户信息
     * @param username
     * @return
     */
    public PtUsers getUserByName(@Param("username") String username);

    /**
     * 根据手机号查询用户信息
     * @param phone
     * @return
     */
    public PtUsers getUserByPhone(@Param("phone") String phone);

}
